package com.xx.ems.service.impl;

import java.util.Set;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xx.ems.dao.UserLoginDao;
import com.xx.ems.model.Action;
import com.xx.ems.model.Users;
import com.xx.ems.service.UserLoginService;

@Service(value="userLoginService")
public class UserLoginServiceImpl implements UserLoginService {
	@Resource
	private UserLoginDao userLoginDao;
	
	@Override
	public Users userCheck(String account, String password) {
		return userLoginDao.userCheck(account, password);
	}

	@Override
	public Set<Action> getActionListByAccont(String account) {
		return userLoginDao.getActionListByAccont(account);
	}
}
